EditInLink
TheEditInLink
method returns a Boolean value that indicates whether the part maintaining a link destination (that includes this frame) can be found.
ODBoolean EditInLink ();
- return value
kODTrue
if the part maintaining a link destination (that includes this frame) can be found, otherwisekODFalse
.DISCUSSION
Your part calls this method when the user attempts to edit in a display frame that has a link status ofkODInLinkDestination
. This method in turn calls theEditInLinkAttempted
method of the part that maintains that link destination. That part then displays an alert allowing the user to find the source of the link or to break the link. If the user chooses to break the link, that part changes the link status of the embedded frame accordingly.If the part maintaining the link destination was found, this method returns
kODTrue
and, if the link status of this frame was changed, you can then allow editing. In the unlikely event that the part maintaining the link destination cannot be found, this method returnskODFalse
, and your part should display an alert informing the user that the destination of the link cannot be edited.SEE ALSO
TheODPart::EditInLinkAttempted
method (page 509).
"Editing a Link Destination" on page 393 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help